package com.capgemini.simpleappblanche.controller.customer;

import org.springframework.ui.Model;

import com.capgemini.simpleappblanche.controller.customer.model.CustomerMenu;

public class CustomerHelper {
	
	public static void activeMenu(Model model,final CustomerMenu activeMenu ){
		CustomerMenu customerMenu = CustomerMenu.CONTACT;
		if(activeMenu!=null){
			customerMenu = activeMenu;
		}
		model.addAttribute("activeCustomerMenu",customerMenu);
	}
}
